package com.xneure.code.excel;

public class Column implements Cloneable{
	private String data;
	private int index;
	private int width;
	private String title;
	private int type;

	public String getData(){
		try{
			return data.toString();
		}catch(Exception e){
			return null;
		}
	}

	public int getType(){
		return type;
	}

	public void setType(int type){
		this.type = type;
	}

	public void setData(String data){
		this.data = data;
	}

	public int getIndex(){
		return index;
	}

	public void setIndex(int index){
		this.index = index;
	}

	public int getWidth(){
		return width;
	}

	public void setWidth(int width){
		this.width = width;
	}

	public String getTitle(){
		return title;
	}

	public void setTitle(String title){
		this.title = title;
	}

	@Override
	public Column clone(){
		try{
			return (Column)super.clone();
		}catch(CloneNotSupportedException e){
			return null;
		}
	}
}
